Skip to content

Support custom AD backend models in the MOI wrapper - #282

Merged
blegat merged 4 commits into
masterfrom
bl/ad_backend
Nov 27, 2026
Merged

blegat merged 4 commits into
masterfrom
bl/ad_backend

Conversation

@blegat

@blegat blegat commented Nov 26, 2026

Copy link
Copy Markdown
Member

No description provided.

Build the model and evaluator through the selected backend. Keep populated models when switching to a backend with the same model type, and reject incompatible switches before changing optimizer state.
Forward all function-in-set pairs through the same support and addition methods. Skip unbounded interval rows when registering NLopt constraints so direct interval support matches the MOI model.
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.85%. Comparing base (e9e216a) to head (3df1c77).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #282      +/-   ##
==========================================
- Coverage   99.85%   99.85%   -0.01%     
==========================================
  Files           2        2              
  Lines         712      695      -17     
==========================================
- Hits          711      694      -17     
  Misses          1        1              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blegat
blegat added this pull request to stack #284 November 27, 2026 07:20
@blegat
blegat merged commit e98b9a2 into master Nov 27, 2026
11 checks passed
@blegat
blegat deleted the bl/ad_backend branch November 27, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant